/**
 * 
 */
package com.google.code.onlineshopping4j.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author TelmilaJ
 *
 */
@Controller
public class WelcomeController {
	
	
	public static final String WELCOME_REQUEST_MAPPING_EMPTY_SLASH = "/";
	public static final String WELCOME_REQUEST_MAPPING_INDEX = "/index";
	
	public static final String WELCOME_VIEW_NAME = "index";
	
	@RequestMapping(value={WELCOME_REQUEST_MAPPING_EMPTY_SLASH, 
			WELCOME_REQUEST_MAPPING_INDEX})
	public String welcome(){
		return WELCOME_VIEW_NAME;
	}
}
